<h1>User Index</h1>

<table id="UsersIndex">
        <tr>
                <th>Name</th>
                <th>Email</th>
                <th>Role</th>
        </tr>
        <?php  for($i = 0; $i < sizeof($viewData['Users']); $i++) { ?>
        <tr>
                <td><?=$viewData['Users'][$i]->name?></td>
                <td><?=$viewData['Users'][$i]->email?></td>
                <td><?=$viewData['Users'][$i]->role?></td>
        </tr>
        <?php } ?>
</table>